﻿using Admin.NET.Core;
namespace Admin.NET.Application.Entity;

/// <summary>
/// 接收的SocketDatat
/// </summary>
[SugarTable("ReceiveData","接收的SocketDatat")]
public class ReceiveData  : EntityBase
{
    /// <summary>
    /// 版本
    /// </summary>
    [SugarColumn(ColumnName = "Version", ColumnDescription = "版本")]
    public byte? Version { get; set; }
    
    /// <summary>
    /// 命令
    /// </summary>
    [SugarColumn(ColumnName = "Cmd", ColumnDescription = "命令")]
    public byte? Cmd { get; set; }
    
    /// <summary>
    /// 路由ID
    /// </summary>
    [SugarColumn(ColumnName = "RouteId", ColumnDescription = "路由ID")]
    public int? RouteId { get; set; }
    
    /// <summary>
    /// 盲板ID
    /// </summary>
    [SugarColumn(ColumnName = "BlindId", ColumnDescription = "盲板ID")]
    public int? BlindId { get; set; }
    
    /// <summary>
    /// NC空白
    /// </summary>
    [SugarColumn(ColumnName = "Blank", ColumnDescription = "NC空白")]
    public Int16? Blank { get; set; }
    
    /// <summary>
    /// 管道
    /// </summary>
    [SugarColumn(ColumnName = "Pipe", ColumnDescription = "管道")]
    public byte? Pipe { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "Snr", ColumnDescription = "")]
    public byte? Snr { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "Rssi", ColumnDescription = "")]
    public byte? Rssi { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "Rssiflag", ColumnDescription = "")]
    public byte? Rssiflag { get; set; }
    
    /// <summary>
    /// NC空白
    /// </summary>
    [SugarColumn(ColumnName = "Blank2", ColumnDescription = "NC空白")]
    public Int16? Blank2 { get; set; }
    
    /// <summary>
    /// unix时间戳
    /// </summary>
    [SugarColumn(ColumnName = "Timetick", ColumnDescription = "unix时间戳")]
    public int? Timetick { get; set; }
    
    /// <summary>
    /// 时间
    /// </summary>
    [SugarColumn(ColumnName = "EventTime", ColumnDescription = "时间")]
    public DateTime? EventTime { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "Online", ColumnDescription = "")]
    public byte? Online { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "Onnet", ColumnDescription = "")]
    public Int16? Onnet { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "Datalen", ColumnDescription = "")]
    public Int16? Datalen { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "Data", ColumnDescription = "", Length = 255)]
    public string? Data { get; set; }
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "Data2", ColumnDescription = "", Length = 555)]
    public string? Data2 { get; set; }

    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(ColumnName = "AllData", ColumnDescription = "", Length = 500)]
    public string? AllData { get; set; }

}
